* alloc.c (mark_object_loop_halt, mark_object): Use size_t, not int.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Apr 2011 05:41:46 +0000 (22:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Apr 2011 05:41:46 +0000 (22:41 -0700)
commit040d9846df19f94bc07457e60b110d837a645bd4
tree9c88ca51501723fff9bec143461f8eb303a93ce5
parent6abbdbfd2860e6cb72d04c0a5460cb1351a5c01b
* alloc.c (mark_object_loop_halt, mark_object): Use size_t, not int.

Otherwise, GCC 4.6.0 optimizes the loop check away since the check
can always succeed if overflow has undefined behavior.
src/ChangeLog
src/alloc.c